<g:hiddenField name="id" id="category_id"/>
<g:hiddenField name="parentId"/>
<div class="fieldcontain ">
    <label for="parentName">
        <g:message code="formworkcategory.parentId.label" default="上级" />
    </label>
    <g:textField name="parentName"/>
</div>
<div class="fieldcontain ">
    <label for="area_name">
        <g:message code="formworkcategory.name.label" default="名称" />

    </label>
    <g:textField name="name" id="category_name" class="easyui-validatebox" required="true"/>
</div>